import uuid
import libnum
import gmpy2

flag = "flag{" + str(uuid.uuid4()) + "}"
print(flag)
e = 65537
m = libnum.s2n(flag.encode())
p1 = libnum.generate_prime(128)
q1 = libnum.generate_prime(128)
p2 = libnum.generate_prime(128)
q2 = libnum.generate_prime(128)
print("p1=", p1)
print("q1=", q1)
print("p2=", p2)
print("q2=", q2)
n1 = p1 * q1
n2 = p2 * q2
print("n1=", n1)
print("n2=", n2)
c1 = pow(m, e, n1)
c2 = pow(m, e, n2)
print("c1=", c1)
print("c2=", c2)
p1= 251223716969679284158034841648497945449
q1= 312034879071048933569057506006677671543
p2= 211337891216364704869900032967411360087
q2= 297188134283417063106785912026186242733
n1= 78390562144413299279009467011698556344448786147101545377210676133018753657807
n2= 62807113593983181355469795214442769014099701199525162295780030497899849997771
c1= 6211708410907396487178694692964828961624573302527469677177853845246758507683
c2= 42421016332044012951488859938433606804129539757256957220125138277657724418334
